package com.ruoyi.jjm.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 乡统计信息对象 t_town_statistics
 * 
 * @author tsr
 * @date 2020-07-26
 */
public class TownStatisticsTable
{

    @ExcelProperty("乡镇")
    private String townName;

    /** 精准确村确户数 */
    @Excel(name = "精准确村确户数")
    @ExcelProperty("精准确村确户数")
    private Long accurateNum;

    /** 常住人口户数 */
    @Excel(name = "常住人口户数")
    @ExcelProperty("常住人口户数")
    private Long householdsNum;

    /** 洁净煤取暖户数 */
    @Excel(name = "洁净煤取暖户数")
    @ExcelProperty("洁净煤取暖户数")
    private Long cleanCoalNum;

    /** 洁净煤未入户数 */
    @Excel(name = "洁净煤未入户数")
    @ExcelProperty("洁净煤未入户数")
    private Long notCleanCoalNum;

    /** 采用其他方式取暖户数 */
    @Excel(name = "采用其他方式取暖户数")
    @ExcelProperty("采用其他方式取暖户数")
    private Long otherWarmNum;

    /** 冬季不取暖户数 */
    @Excel(name = "冬季不取暖户数")
    @ExcelProperty("冬季不取暖户数")
    private Long notWarmNum;

    /** 生物质取暖户数 */
    @Excel(name = "生物质取暖户数")
    @ExcelProperty("生物质取暖户数")
    private Long biomassWarmNum;

    /** 乡镇包联人数 */
    @Excel(name = "乡镇包联人数")
    @ExcelProperty({"乡镇","乡镇包联人数"})
    private Long townBlNum;

    /** 包联村数 */
    @Excel(name = "包联村数")
    @ExcelProperty({"乡镇","包联村数"})
    private Long townBlVillageNum;

    /** 村级包联人数 */
    @Excel(name = "村级包联人数")
    @ExcelProperty({"村","村级包联人数"})
    private Long villageBlNum;

    /** 村级包联户数 */
    @Excel(name = "村级包联户数")
    @ExcelProperty({"村","村级包联户数"})
    private Long villageBlHouseNum;

    /** 总购洁净煤数 */
    @Excel(name = "总购洁净煤数（吨）")
    @ExcelProperty("总购洁净煤数（吨）")
    private Double totalBuyNum;

    public TownStatisticsTable(){

    }
    public TownStatisticsTable(TownStatistics statistics){
        this.accurateNum = statistics.getAccurateNum();
        this.biomassWarmNum = statistics.getBiomassWarmNum();
        this.cleanCoalNum = statistics.getCleanCoalNum();
        this.householdsNum = statistics.getHouseholdsNum();
        this.notCleanCoalNum = statistics.getNotCleanCoalNum();
        this.notWarmNum = statistics.getNotWarmNum();
        this.otherWarmNum = statistics.getOtherWarmNum();
        this.totalBuyNum = statistics.getTotalBuyNum();
        this.townBlNum = statistics.getTownBlNum();
        this.townBlVillageNum = statistics.getTownBlVillageNum();
        this.townName = statistics.getTownName();
        this.villageBlHouseNum = statistics.getVillageBlHouseNum();
        this.villageBlNum = statistics.getVillageBlNum();
    }

    public String getTownName() {
        return townName;
    }

    public void setTownName(String townName) {
        this.townName = townName;
    }
    public void setAccurateNum(Long accurateNum)
    {
        this.accurateNum = accurateNum;
    }

    public Long getAccurateNum() 
    {
        return accurateNum;
    }
    public void setHouseholdsNum(Long householdsNum) 
    {
        this.householdsNum = householdsNum;
    }

    public Long getHouseholdsNum() 
    {
        return householdsNum;
    }
    public void setCleanCoalNum(Long cleanCoalNum) 
    {
        this.cleanCoalNum = cleanCoalNum;
    }

    public Long getCleanCoalNum() 
    {
        return cleanCoalNum;
    }
    public void setNotCleanCoalNum(Long notCleanCoalNum) 
    {
        this.notCleanCoalNum = notCleanCoalNum;
    }

    public Long getNotCleanCoalNum() 
    {
        return notCleanCoalNum;
    }
    public void setOtherWarmNum(Long otherWarmNum) 
    {
        this.otherWarmNum = otherWarmNum;
    }

    public Long getOtherWarmNum() 
    {
        return otherWarmNum;
    }
    public void setNotWarmNum(Long notWarmNum) 
    {
        this.notWarmNum = notWarmNum;
    }

    public Long getNotWarmNum() 
    {
        return notWarmNum;
    }
    public void setBiomassWarmNum(Long biomassWarmNum) 
    {
        this.biomassWarmNum = biomassWarmNum;
    }

    public Long getBiomassWarmNum() 
    {
        return biomassWarmNum;
    }
    public void setTownBlNum(Long townBlNum) 
    {
        this.townBlNum = townBlNum;
    }

    public Long getTownBlNum() 
    {
        return townBlNum;
    }
    public void setTownBlVillageNum(Long townBlVillageNum) 
    {
        this.townBlVillageNum = townBlVillageNum;
    }

    public Long getTownBlVillageNum() 
    {
        return townBlVillageNum;
    }
    public void setVillageBlNum(Long villageBlNum) 
    {
        this.villageBlNum = villageBlNum;
    }

    public Long getVillageBlNum() 
    {
        return villageBlNum;
    }
    public void setVillageBlHouseNum(Long villageBlHouseNum) 
    {
        this.villageBlHouseNum = villageBlHouseNum;
    }

    public Long getVillageBlHouseNum() 
    {
        return villageBlHouseNum;
    }
    public void setTotalBuyNum(Double totalBuyNum)
    {
        this.totalBuyNum = totalBuyNum;
    }

    public Double getTotalBuyNum()
    {
        return totalBuyNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accurateNum", getAccurateNum())
            .append("householdsNum", getHouseholdsNum())
            .append("cleanCoalNum", getCleanCoalNum())
            .append("notCleanCoalNum", getNotCleanCoalNum())
            .append("otherWarmNum", getOtherWarmNum())
            .append("notWarmNum", getNotWarmNum())
            .append("biomassWarmNum", getBiomassWarmNum())
            .append("townBlNum", getTownBlNum())
            .append("townBlVillageNum", getTownBlVillageNum())
            .append("villageBlNum", getVillageBlNum())
            .append("villageBlHouseNum", getVillageBlHouseNum())
            .append("totalBuyNum", getTotalBuyNum())
            .toString();
    }
}
